<!DOCTYPE HTML>
<html lang="en-US">
	<head>
		<meta charset="UTF-8">
		<title>Tạo code 3 lớp PHP</title>
	</head>
	<body>
		<?php
			$tmp = isset($_GET['act']) ? $_GET['act'] : "home";
			include $tmp . ".php";
		?>
	</body>
</html>